package org.dusk.scraper;

import java.io.File;

public class ScraperMgr {
	ScraperBase[] myScrapers;
	
	public ScraperMgr() {	
		myScrapers = new ScraperBase[1];
		myScrapers[0] = new ScraperFileInfo();
	}
	
	public int scrapeFile(File myF) {
		for(int i = 0; i < myScrapers.length; i++) {
			
		}
		
		
		return 0;
	}
	public String findExt(File myF) {
		String path = myF.getName();
		int extPos = path.lastIndexOf(".");
		if(extPos == -1) return "";
		return path.substring(extPos + 1);
	}
}
